# Naming of the cards is to comply with HTDebeer's

SUITS = {'h':'heart', 's':'spade', 'd':'diamond', 'c':'club'}
RANKS = {'A':'1', '2':'2', '3':'3', '4':'4', '5':'5', '6':'6', '7':'7', '8':'8', '9':'9',
         'T':'10', 'J': 'jack', 'Q': 'queen', 'K': 'king'}

def get_card_name(card):
    return f'{SUITS[card[0]]}_{RANKS[card[1]]}'

def make_deck():
    return [suit + rank for suit in SUITS for rank in RANKS]